package org.example.threadobjectclasscommonmethods;

/**
 * @description: 测试线程Id属性
 * @author: MoodAir
 * @Date: 2020/6/7 0007 12:43
 */
public class Id {

  public static void main(String[] args) {
    System.out.println(Thread.currentThread().getId());
    System.out.println(new Thread().getId());
  }
}